package com.api.gbhg.huangwm.action;

import com.customization.commons.LogTool;
import weaver.conn.RecordSet;
import weaver.interfaces.workflow.action.Action;
import weaver.soa.workflow.request.RequestInfo;

public class DelReimbursementRecords implements Action {
    private LogTool logTool = new LogTool("/log/gbhg/huangwm/action/DelReimbursementRecords",false);
    @Override
    public String execute(RequestInfo requestInfo) {
        int requestid = requestInfo.getRequestManager().getRequestid();
        RecordSet rs = new RecordSet();
        rs.execute("delete from uf_bxsjjl where lcid="+requestid);
        rs.execute("delete from uf_bxjl_kj where lcid="+requestid);
        rs.execute("delete from uf_bxjl_kj_dt1 where lcid="+requestid);
        rs.execute("delete from uf_bxjl_kj_dt2 where lcid="+requestid);
        return SUCCESS;
    }
}
